package com.zja.dao;

import com.zja.model.GroupMember;

import java.util.List;

/**
 * @author JA
 */
public interface GroupMemberDao {
    List<GroupMember> selectAll();

    GroupMember selectById(Long groupId, Long userId);

    boolean insert(GroupMember groupMember);

    boolean update(GroupMember groupMember);

    boolean deleteById(Long groupId, Long userId);

}
